package com.bsj.travel.monitor;

import com.bsj.travel.security.annotation.EnableCustomConfig;
import com.bsj.travel.security.annotation.EnableRyFeignClients;
import org.dromara.x.file.storage.spring.EnableFileStorage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author yinhao
 * @version 1.0
 * @description 日志监控服务启动类
 * @date 2024/1/22
 */
@EnableRyFeignClients
@EnableCustomConfig
@CrossOrigin(origins = "*", maxAge = 3600)
@SpringBootApplication(scanBasePackages = {"com.bsj.travel"})
@EnableFileStorage
public class TravelCloudMonitorApplication {

    public static void main(String[] args) {
        SpringApplication.run(TravelCloudMonitorApplication.class, args);
        System.out.println("(◠‿◠)ﾉﾞ  物联网日志监控服务启动成功   ლ(´ڡ`ლ)ﾞ ");
    }
}
